ti: k3: common: Add basic PSCI reset support
authorAndrew F. Davis <[email protected]>
Thu, 24 May 2018 16:15:42 +0000 (11:15 -0500)
committerAndrew F. Davis <[email protected]>
Wed, 22 Aug 2018 15:57:19 +0000 (10:57 -0500)
Use TI-SCI messages to request reset from system controller firmware.

Signed-off-by: Andrew F. Davis <[email protected]>
plat/ti/k3/common/k3_psci.c

index 20d1ae6229d3f75bc633f3737e0b8d9a804bd84b..4c501f571e75a854c4f92970196c1e07e53f6a02 100644 (file)
@@ -92,8 +92,8 @@ void k3_pwr_domain_on_finish(const psci_power_state_t *target_state)
 
 static void __dead2 k3_system_reset(void)
 {
-       /* TODO: Indicate to System firmware about system reset */
-       STUB();
+       /* Send the system reset request to system firmware */
+       ti_sci_core_reboot();
 
        while (true)
                wfi();